#!/bin/bash
# 整理文档文件到 docs 目录

echo "正在整理文档文件..."

# 确保 docs 目录存在
mkdir -p docs

# 移动文档文件（如果存在）
[ -f "QUICKSTART.md" ] && mv QUICKSTART.md docs/ && echo "✅ QUICKSTART.md"
[ -f "PROJECT_STRUCTURE.md" ] && mv PROJECT_STRUCTURE.md docs/ && echo "✅ PROJECT_STRUCTURE.md"
[ -f "TROUBLESHOOTING.md" ] && mv TROUBLESHOOTING.md docs/ && echo "✅ TROUBLESHOOTING.md"
[ -f "修复App登录问题.md" ] && mv 修复App登录问题.md docs/ && echo "✅ 修复App登录问题.md"
[ -f "清理缓存.sh" ] && mv 清理缓存.sh docs/ && echo "✅ 清理缓存.sh"

echo ""
echo "✅ 文档整理完成！"
echo ""
echo "文档现在位于: uniapp/docs/"
echo ""
echo "文档列表："
echo "  - docs/QUICKSTART.md - 快速开始"
echo "  - docs/PROJECT_STRUCTURE.md - 项目结构"
echo "  - docs/TROUBLESHOOTING.md - 故障排查"
echo "  - docs/修复App登录问题.md - 登录问题修复"
echo "  - docs/彻底解决App登录问题.md - 终极解决方案"
echo "  - docs/清理缓存.sh - 清理缓存脚本"
echo ""

